package com.woniuxy.store.core.service;

import com.woniuxy.store.core.model.MdSf;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.store.core.model.MdStorefirst;
import com.woniuxy.store.core.vo.CountVo;
import com.woniuxy.store.core.vo.ServeVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
public interface MdSfService extends IService<MdSf> {

    void insertOne(MdSf mdSf);

    void delectOne(int sfId);


    void serveManagement(ServeVo serveVo);

    void fabu(Integer storeId, Integer firstId, Integer secondId, Integer thirdId);


    List<MdSf> selectServe(Integer storeId);

    void serviceOnAndOff(Integer id);

    CountVo countServe(Integer storeId);

    Integer countFirstServe(Integer firstId);
}
